
TRIGGER PROCEDURE FOR CREATE OF WOD_DET.

{mfdeclre.i }

HK:
do:
    if not can-find ( first dt_mstr where dt_table = "wod_det" and dt_type = "ADD" ) then leave HK.

    for first dt_mstr no-lock where dt_table = "wod_det" and dt_type = "ADD" :
    
        run CreateDthist(input dt_table, input dt_field, input dt_type, input "", input "", 
	        input recid(wod_det), input wod_det.wod_lot, input wod_det.wod_part, input string(wod_det.wod_op), input "",
    	    input "", input "", input "", input "") .

	end.
end.

{hkdttrans.i}
